<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    function getSum(a,b){
        var sum=a+b;
    
        alert(sum)
    }
    getSum(10,20)

    function getMax(c,d){
        if(c>d){
            alert(c)
        }else{
            alert(d)

        }
    }
    getMax(10,20)

    function getYear(a,b){
        var count=0;
        for(i=a;i<=b;i++){
            if(i%4==0&&i%100!=0||i%400==0){
                count++;
            }
        }
        alert(count)
    }
    getYear(200,400)
</script>